<?php

namespace Modules\Inventory\Http\Requests;

use Illuminate\Foundation\Http\FormRequest;

class InventoryPlanRequest extends FormRequest
{
    /**
     * rules
     * @return array
     */
    public function rules(): array
    {
        return [
            'plan_name' => [
              'required',
            ],
            'org_code' => [
                'required',
            ],
            'split_order_rules' => [
                'required',
            ],
            'allow_new_material' => [
                'required',
            ],
            'no_check_order' => [
                'required',
            ],
            'create_adjust_order' => [
                'required',
            ],
            'default_qty' => [
                'required',
            ],
            'inventory_eadline' => [
                'required',
            ],
            'wms_range' => [
                'required',
            ]
        ];
    }

    /**
     * messages
     *
     * @return string[]
     */
    public function messages(): array
    {
        return [];
    }
}
